package com.ruoyi.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图
对象 app_banner
 * 
 * @author ruoyi
 * @date 2025-11-07
 */
public class AppBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图ID */
    private Long id;

    /** 轮播图名称 */
    @Excel(name = "轮播图名称")
    private String bannerName;

    /** 轮播图地址 */
    @Excel(name = "轮播图地址")
    private String bannerUrl;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 文本叙述 */
    @Excel(name = "文本叙述")
    private String text;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setBannerName(String bannerName) 
    {
        this.bannerName = bannerName;
    }

    public String getBannerName() 
    {
        return bannerName;
    }

    public void setBannerUrl(String bannerUrl) 
    {
        this.bannerUrl = bannerUrl;
    }

    public String getBannerUrl() 
    {
        return bannerUrl;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerName", getBannerName())
            .append("bannerUrl", getBannerUrl())
            .append("title", getTitle())
            .append("text", getText())
            .toString();
    }
}
